TELGetDisplay
Gets the text displayed on a terminal and the display mode of the terminal.
pascal TELErr TELGetDisplay ( TELHandle hTEL, short index, short *displayMode, StringPtr *text);
hTEL
- A handle to a telephone record associated with a telephone terminal.
index
- A value the indicates which item of the displayed text to get. See "Display Items" on page 2-11 for a description of the available display items.
displayMode
- On exit, the current display mode of the specified terminal. See "Display Modes" on page 2-10 for a description of the available display modes.
text
- On exit, a pointer to a Pascal-style string that contains the text of the specified item on the display of the specified terminal. Your application is responsible for disposing of that string.
- function result
- A result code.
DESCRIPTION
TheTELGetDisplay
function returns, in thetext
parameter, a pointer to the text of the display item specified by theindex
parameter on the terminal specified by thehTEL
parameter.TELGetDisplay
also returns, in thedisplayMode
parameter, the current display mode of the specified terminal.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help